﻿namespace SPTaxonomyClient.Taxonomy
{
	/// <summary>
	/// Represent a label associated with a term
	/// </summary>
	/// <see cref="Term"/>
	public class TermDefinition
	{
		/// <summary>
		/// A textual label of the term
		/// </summary>
		public string Value { get; set; }

		/// <summary>
		/// Is this label the default for the term
		/// </summary>
		public bool IsDefaultForLanguage { get; set; }

		/// <summary>
		/// The locale id of the term. For now, hardcoded to US English (1033).
		/// </summary>
		// TODO : Implement a way to get the definition locale
		public int Language { get { return 1033; } }
	}
}
